﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using TESTCOM;

namespace Ev_MapCom
{
    public partial class Start : Form
    {
        public Start()
        {
            InitializeComponent();
        }

        private void panel1_Paint(object sender, PaintEventArgs e)
        {

        }

        private void panel1_Click(object sender, EventArgs e)
        {
            var s = new Form1();
            s.Show();
        }

        private void panel2_Click(object sender, EventArgs e)
        {
            var s = new Form2();
            s.Show();
        }

        private void Start_Load(object sender, EventArgs e)
        {
            toolsCOM.InitSerialPort();
        }

        private void Start_FormClosed(object sender, FormClosedEventArgs e)
        {
            toolsCOM.closeCmd();
        }
    }
}
